.class public Lcom/brixd/niceapp/community/model/PictureModel;
.super Ljava/lang/Object;
.source "PictureModel.java"

# interfaces
.implements Landroid/os/Parcelable;


# static fields
.field public static CREATOR:Landroid/os/Parcelable$Creator;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroid/os/Parcelable$Creator",
            "<",
            "Lcom/brixd/niceapp/community/model/PictureModel;",
            ">;"
        }
    .end annotation
.end field


# instance fields
.field private id:J

.field private imageLocalPath:Ljava/lang/String;

.field private imageUriPath:Ljava/lang/String;

.field private isChecked:Z

.field private isCover:Z

.field private name:Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    .prologue
    .line 76
    new-instance v0, Lcom/brixd/niceapp/community/model/PictureModel$1;

    invoke-direct {v0}, Lcom/brixd/niceapp/community/model/PictureModel$1;-><init>()V

    sput-object v0, Lcom/brixd/niceapp/community/model/PictureModel;->CREATOR:Landroid/os/Parcelable$Creator;

    return-void
.end method

.method public constructor <init>()V
    .registers 1

    .prologue
    .line 15
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 16
    return-void
.end method

.method public constructor <init>(Landroid/os/Parcel;)V
    .registers 8
    .param p1, "parcel"    # Landroid/os/Parcel;

    .prologue
    const/4 v1, 0x1

    const/4 v2, 0x0

    .line 18
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 19
    invoke-virtual {p1}, Landroid/os/Parcel;->readLong()J

    move-result-wide v4

    iput-wide v4, p0, Lcom/brixd/niceapp/community/model/PictureModel;->id:J

    .line 20
    invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/community/model/PictureModel;->name:Ljava/lang/String;

    .line 21
    invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/community/model/PictureModel;->imageUriPath:Ljava/lang/String;

    .line 22
    invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/community/model/PictureModel;->imageLocalPath:Ljava/lang/String;

    .line 23
    invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I

    move-result v0

    if-eqz v0, :cond_2f

    move v0, v1

    :goto_24
    iput-boolean v0, p0, Lcom/brixd/niceapp/community/model/PictureModel;->isChecked:Z

    .line 24
    invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I

    move-result v0

    if-eqz v0, :cond_31

    :goto_2c
    iput-boolean v1, p0, Lcom/brixd/niceapp/community/model/PictureModel;->isCover:Z

    .line 25
    return-void

    :cond_2f
    move v0, v2

    .line 23
    goto :goto_24

    :cond_31
    move v1, v2

    .line 24
    goto :goto_2c
.end method


# virtual methods
.method public describeContents()I
    .registers 2

    .prologue
    .line 91
    const/4 v0, 0x0

    return v0
.end method

.method public getId()J
    .registers 3

    .prologue
    .line 29
    iget-wide v0, p0, Lcom/brixd/niceapp/community/model/PictureModel;->id:J

    return-wide v0
.end method

.method public getImageLocalPath()Ljava/lang/String;
    .registers 2

    .prologue
    .line 53
    iget-object v0, p0, Lcom/brixd/niceapp/community/model/PictureModel;->imageLocalPath:Ljava/lang/String;

    return-object v0
.end method

.method public getImageUriPath()Ljava/lang/String;
    .registers 2

    .prologue
    .line 45
    iget-object v0, p0, Lcom/brixd/niceapp/community/model/PictureModel;->imageUriPath:Ljava/lang/String;

    return-object v0
.end method

.method public getName()Ljava/lang/String;
    .registers 2

    .prologue
    .line 37
    iget-object v0, p0, Lcom/brixd/niceapp/community/model/PictureModel;->name:Ljava/lang/String;

    return-object v0
.end method

.method public isChecked()Z
    .registers 2

    .prologue
    .line 61
    iget-boolean v0, p0, Lcom/brixd/niceapp/community/model/PictureModel;->isChecked:Z

    return v0
.end method

.method public isCover()Z
    .registers 2

    .prologue
    .line 69
    iget-boolean v0, p0, Lcom/brixd/niceapp/community/model/PictureModel;->isCover:Z

    return v0
.end method

.method public setId(J)V
    .registers 4
    .param p1, "id"    # J

    .prologue
    .line 33
    iput-wide p1, p0, Lcom/brixd/niceapp/community/model/PictureModel;->id:J

    .line 34
    return-void
.end method

.method public setImageLocalPath(Ljava/lang/String;)V
    .registers 2
    .param p1, "imageLocalPath"    # Ljava/lang/String;

    .prologue
    .line 57
    iput-object p1, p0, Lcom/brixd/niceapp/community/model/PictureModel;->imageLocalPath:Ljava/lang/String;

    .line 58
    return-void
.end method

.method public setImageUriPath(Ljava/lang/String;)V
    .registers 2
    .param p1, "imageUriPath"    # Ljava/lang/String;

    .prologue
    .line 49
    iput-object p1, p0, Lcom/brixd/niceapp/community/model/PictureModel;->imageUriPath:Ljava/lang/String;

    .line 50
    return-void
.end method

.method public setIsChecked(Z)V
    .registers 2
    .param p1, "isChecked"    # Z

    .prologue
    .line 65
    iput-boolean p1, p0, Lcom/brixd/niceapp/community/model/PictureModel;->isChecked:Z

    .line 66
    return-void
.end method

.method public setIsCover(Z)V
    .registers 2
    .param p1, "isCover"    # Z

    .prologue
    .line 73
    iput-boolean p1, p0, Lcom/brixd/niceapp/community/model/PictureModel;->isCover:Z

    .line 74
    return-void
.end method

.method public setName(Ljava/lang/String;)V
    .registers 2
    .param p1, "name"    # Ljava/lang/String;

    .prologue
    .line 41
    iput-object p1, p0, Lcom/brixd/niceapp/community/model/PictureModel;->name:Ljava/lang/String;

    .line 42
    return-void
.end method

.method public writeToParcel(Landroid/os/Parcel;I)V
    .registers 9
    .param p1, "dest"    # Landroid/os/Parcel;
    .param p2, "flags"    # I

    .prologue
    const/4 v1, 0x1

    const/4 v2, 0x0

    .line 96
    iget-wide v4, p0, Lcom/brixd/niceapp/community/model/PictureModel;->id:J

    invoke-virtual {p1, v4, v5}, Landroid/os/Parcel;->writeLong(J)V

    .line 97
    iget-object v0, p0, Lcom/brixd/niceapp/community/model/PictureModel;->name:Ljava/lang/String;

    invoke-virtual {p1, v0}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 98
    iget-object v0, p0, Lcom/brixd/niceapp/community/model/PictureModel;->imageUriPath:Ljava/lang/String;

    invoke-virtual {p1, v0}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 99
    iget-object v0, p0, Lcom/brixd/niceapp/community/model/PictureModel;->imageLocalPath:Ljava/lang/String;

    invoke-virtual {p1, v0}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 100
    iget-boolean v0, p0, Lcom/brixd/niceapp/community/model/PictureModel;->isChecked:Z

    if-eqz v0, :cond_26

    move v0, v1

    :goto_1b
    invoke-virtual {p1, v0}, Landroid/os/Parcel;->writeInt(I)V

    .line 101
    iget-boolean v0, p0, Lcom/brixd/niceapp/community/model/PictureModel;->isCover:Z

    if-eqz v0, :cond_28

    :goto_22
    invoke-virtual {p1, v1}, Landroid/os/Parcel;->writeInt(I)V

    .line 102
    return-void

    :cond_26
    move v0, v2

    .line 100
    goto :goto_1b

    :cond_28
    move v1, v2

    .line 101
    goto :goto_22
.end method
